import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)


import ChatRoom from '../views/ChatRoom.vue'
import FaceTrack from '../views/face/FaceTrack.vue'
const routes = [{
		path: '/',
		name: 'Home',
		component: FaceTrack
	},
	{
		path: '/chat',
		name: "聊天室",
		component: ChatRoom
	}
]

const router = new VueRouter({
	routes
})

export default router
